<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Hover</title>
    <!-- 测试hover -->

    <style>
        .box {
            width: 100%;
            height: 100%;
            background-color: #8b8383;
            margin: 50px;
        }

        li {
            list-style: none;
            width: 100%;
            height: 50px;
            line-height: 50px;
            text-align: center;
            background-color: #daa0a0;
        }
        h1 {
            display: none;
            background-color: #5696d6;
        }

        .box:hover h1 {
            display: block;
            background-color: #fff;
        }
    </style>
</head>
<body>

    <div class="box">
       <h1>aaaaaaaaaaaaaa</h1>
       <ul>
           <li>11111</li>
       </ul>
    </div>
    
</body>
</html>